/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Double;

/**
 *
 * @author gamas
 */
public class longValue {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       Double x= 12.45d;
        System.out.println("resultado="+ x.longValue());

//regresa el valor del objeto double en un valor de tipo long

    }

}
